const obj = {
  a: 1,
  b: 2,
  c: 3,
};

console.log("values", Object.values(obj)); // 值

for (const key of Object.keys(obj)) {
  console.log(key); // a b c
}
for (const value of Object.values(obj)) {
  console.log(value); // 1 2 3
}
for (const [key, value] of Object.entries(obj)) {
  console.log(key, "--", value);
}
